import 'package:flutter/cupertino.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart';

import '../../config/public_color.dart';
import '../../config/public_text.dart';

/// FileName easy_refresh_header
///
/// @Author lax
/// @Date 2024/3/13
///
/// @Description

class EasyRefreshFooter extends ClassicalFooter {
  EasyRefreshFooter({Color? textColor})
      : super(
          loadText: PublicText.loadText,
          loadReadyText: PublicText.loadReadyText,
          loadingText: PublicText.loadingText,
          loadedText: PublicText.loadedText,
          loadFailedText: PublicText.loadFailedText,
          noMoreText: PublicText.noMoreText,
          showInfo: false,
          textColor: textColor ?? PublicColor.lightText,
        );
}
